package com.lanxiao.cloud.modules.dict.application.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author ：qiaoliang
 * @date ：2021-09-26
 */
@ApiModel("字典新增请求模型")
public class DictCmdAdd {

  @ApiModelProperty(value = "字典排序")
  private int sort;
  @ApiModelProperty(value = "字典标签")
  @NotNull(message = "请填写字典标签.")
  private String label;
  @ApiModelProperty(value = "字典键值")
  @NotNull(message = "请填写字典键值.")
  private String value;
  @ApiModelProperty(value = "字典类型")
  @NotNull(message = "请填写字典类型.")
  private String type;
  @ApiModelProperty(value = "表格回显样式")
  private String listClass;
  @ApiModelProperty(value = "备注")
  protected String remark;

  public DictCmdAdd() {
  }

  public DictCmdAdd(int sort, String label, String value, String type, String listClass,
      String remark) {
    this.sort = sort;
    this.label = label;
    this.value = value;
    this.type = type;
    this.listClass = listClass;
    this.remark = remark;
  }

  public int getSort() {
    return sort;
  }

  public String getLabel() {
    return label;
  }

  public String getValue() {
    return value;
  }

  public String getType() {
    return type;
  }

  public String getListClass() {
    return listClass;
  }

  public String getRemark() {
    return remark;
  }
}
